package visitor.main.structure;

import visitor.main.visitor.IVisitor;

/**
 * 普通员工（真正干活的人）
 */
public class Employees extends Staff {

    public Employees(String no, String name, String position, float salary) {
        super(no, name, position, salary);
    }

    @Override
    public void add(Staff staff) {
        return;
    }

    @Override
    public Staff remove(String no) {
        return null;
    }

    //接收访问者对象
    public void accept(IVisitor visitor){
        visitor.visit(this);
    }
}
